<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>JavaScript</title>
</head>
<style></style>
<script type="module" src="script.js"></script>
<body>
    <div>点击下面按钮，修改按钮的文字，将"按钮"，修改为"确定"</div>
    <button id="btn1">按钮</button>

    <div>点击下面按钮，切换日间模式或者夜间模式"</div>
    显示模式：<span id="span1">☀</span>
    <button id="btn2">切换显示模式</button>
</body>
<script>
    //内部script标签
</script>

</html>